home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / c / bc_ti.zip / TI355.ASC < prev    next >
Text File  |  1992-02-25  |  3KB  |  133 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.   PRODUCT : TURBO C                                    NUMBER : 355
  9.   VERSION : 1.0
  10.        OS : PC-DOS
  11.      DATE : June 4, 1987                                 PAGE : 1/2
  12.  
  13.    TITLE  : -G PATCH
  14.  
  15.  
  16.  
  17.  
  18.   The  following  patch  solves a problem  in  Turbo  C  where  the
  19.   compiler can run out of memory compiling a large switch statement
  20.   if the -G option is used.
  21.  
  22.   To  apply  this  patch,  use  the DOS utility DEBUG.COM. You  may
  23.   obtain a copy of DEBUG.COM from one of your  original  PC-DOS  or
  24.   MS-DOS diskettes.
  25.  
  26.   NOTE:
  27.   1.   Do not patch your original Turbo C disk, use  a  working  or
  28.        backup copy of TCC.EXE and TC.EXE for this patch.
  29.  
  30.   2.   DEBUG  is  not  sensitive  to  upper  and  lower  case.  All
  31.        addresses are listed in upper case for ease of readibility.
  32.  
  33.   3.   XXXX,YYYY,ZZZZ are hexidecimal digits returned by DEBUG. You
  34.        must replace these digits accordingly  when  typing  in your
  35.        commands.
  36.  
  37.   4.   While in DEBUG, the prompt will appear as a dash (-).
  38.  
  39.   5.   If you do not  receive  the  appropriate  response,press "q"
  40.        followed by  <Enter>, to exit from DEBUG. Check your version
  41.        number and, if correct, try again.
  42.  
  43.   6.   TCC.EXE and TC.EXE will not fit together onto  a  360K disk.
  44.        To patch both  programs  on  a  floppy disk, you may need to
  45.        copy TCC.EXE and DEBUG.COM onto  one  disk  and  perform the
  46.        patch. Save  the patched version of TCC.EXE to another disk.
  47.        Repeat the same steps using TC.EXE.
  48.  
  49.   At  the DOS prompt, type the  following  information  exactly  as
  50.   itappears (Conclude each line by pressing <Enter>).
  51.  
  52.                           Patch for TCC.EXE
  53.  
  54.        Type the following:          You will see:
  55.  
  56.        ren tcc.exe tcc.xex<Enter>   A>
  57.  
  58.        debug tcc.xex<Enter>         -
  59.  
  60.        r<Enter>                     ... CS=XXXX ...
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.   PRODUCT : TURBO C                                    NUMBER : 355
  76.   VERSION : 1.0
  77.        OS : PC-DOS
  78.      DATE : June 4, 1987                                 PAGE : 1/2
  79.    TITLE  : -G PATCH
  80.  
  81.  
  82.  
  83.  
  84.                                     -
  85.  
  86.        h XXXX 1635<Enter>           YYYY  ZZZZ
  87.                                     -
  88.  
  89.        e YYYY:7E0<Enter>            YYYY:07E0   7C.
  90.  
  91.        72<Enter>                    YYYY:07E0   7C.72
  92.                                     -
  93.  
  94.        w<Enter>                     Writing 2948A bytes
  95.                                     -
  96.  
  97.        q<Enter>                     A>
  98.  
  99.        ren tcc.xex tcc.exe<Enter>   A>
  100.  
  101.  
  102.                            Patch for TC.EXE
  103.  
  104.        Type the following:          You will see:
  105.  
  106.        ren tc.exe tc.xex<Enter>     A>
  107.  
  108.        debug tc.xex<Enter>          -
  109.  
  110.        r<Enter>                     ... CS=XXXX ...
  111.                                     -
  112.  
  113.        h XXXX 1F84<Enter>           YYYY  ZZZZ
  114.                                     -
  115.  
  116.        e YYYY:7E1<Enter>            YYYY:07E1   7C.
  117.  
  118.        72<Enter>                    YYYY:07E1   7C.72
  119.                                     -
  120.  
  121.        w<Enter>                     Writing 38759 bytes
  122.                                     -
  123.  
  124.        q<Enter>                     A>
  125.  
  126.        ren tc.xex tc.exe<Enter>     A>
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.